
package banco ;
/**
 * 
 *
 * @hibernate.class
 *     table="FILME"
 *
 */
public class Filme {
 
  // <editor-fold defaultstate="collapsed" desc=" Property:   String titulo ">
  private String titulo;
/**
  *   @hibernate.property
  */
   public String getTitulo () {
      return titulo;
   } 
   public void setTitulo (String titulo) {
      this.titulo = titulo;
   }
   // </editor-fold>

   // <editor-fold defaultstate="collapsed" desc=" PrimaryKey:   String id ">
   private String id;
/**
  *   @hibernate.id
  *     generator-class="uuid.hex"
  */
   public String getId () {
      return id;
   } 
   public void setId (String id) {
      this.id = id;
   }
   //</editor-fold>

   
   // <editor-fold defaultstate="collapsed" desc=" 1-1  Relation to banco.Midia midia ">
   private banco.Midia midia ;
   /**
    *  @hibernate.one-to-one class = "banco.Midia"
    */
   public banco.Midia getMidia() {
       return midia;
   }
   public void setMidia() {
       this.midia = midia;
   }
   // </editor-fold>
   
   // <editor-fold defaultstate="collapsed" desc=" M-N  Relation to Collection /*banco.Ator*/ ators ">
   private java.util.Collection ators;
   
   /**
    * @hibernate.set
    *     role="ators"
    *     table="FILME_TO_ATOR"
    * @hibernate.collection-key
    *     column="ATOR_FK"
    * @hibernate.collection-many-to-many
    *     class="banco.Ator"
    *     column="FILME_FK"
    */
   public java.util.Collection getAtor() {
       return this.ators;
   }
   
   public void setAtor(java.util.Collection ators) {
       this.ators = ators;
   }
   // </editor-fold>
}